<ion-menu [content]="menuContent">
  <ion-header>
    <ion-toolbar style="opacity: 0.8" no-border-bottom color="primary" hideBackButton="true">
      <ion-title>分类</ion-title>
    </ion-toolbar>
  </ion-header>

  <ion-content>
    <ion-list>
      <button menuClose ion-item *ngFor="let item of repositorytype" (click)="openPage(item)">
        {{item.typename}}
      </button>
    </ion-list>
  </ion-content>

</ion-menu>
<!-- Disable swipe-to-go-back because it's poor UX to combine STGB with side menus -->
<ion-nav [root]="rootPage" #menuContent swipeBackEnabled="false"></ion-nav>
